package com.ltmonitor.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.ltmonitor.entity.FunctionModel;
import com.ltmonitor.service.IBaseService;
import com.ltmonitor.service.IFunctionModelService;

@Controller
@RequestMapping("/functionModel")
public class FunctionModelAction extends PersistenceAction<Long,FunctionModel> {
	

	@Autowired
	private IFunctionModelService functionModelService;
	
	public FunctionModelAction()
	{
		super.EditViewName = "/functionModel/editFunctionModel";
	}

	@RequestMapping("/viewList.action")
	public String list()
	{
		return "/functionModel/functionModelList";
	}
	
	protected IBaseService<Long, FunctionModel> getBaseService()
	{
		return functionModelService;
	}
	
	

}
